//
//  DKUserDefault.h
//  DanKU
//
//  Created by 吴斌 on 2023/10/1.
//

#ifndef DKUserDefault_h
#define DKUserDefault_h

#define USER_DEFAULT [NSUserDefaults standardUserDefaults]
#define DK_SETObject_USERDEF(Key,Value) [USER_DEFAULT setObject:Value forKey:Key]
#define DK_SETBool_USERDEF(Key,Value) [USER_DEFAULT setBool:Value forKey:Key]
#define DK_GETObject_USERDEF(Key) [USER_DEFAULT objectForKey:Key]
#define DK_GETBool_USERDEF(Key) [USER_DEFAULT boolForKey:Key]
#define DK_Remove_USERDEF(Key) [USER_DEFAULT removeObjectForKey:Key]

//用户的token信息
#define NSUserDefault_UserToken @"NSUserDefault_UserToken" //用户token信息

#define NSUserDefault_UserRsaKey @"NSUserDefault_UserRsaKey" //用户公钥
#define NSUserDefault_UserRegister @"NSUserDefault_UserRegister" //用户注册信息

#define NSUserDefault_UserTotle @"NSUserDefault_UserTotle" //用户总额度
#define NSUserDefault_SaveNowDate @"saveNowDate" //消息显示时间戳

#define NSUserDefault_FirstApp @"NSUserDefault_FirstApp" //是否首次进入APP

#define NSUserDefault_LastHone @"NSUserDefault_LastHone" //进入首页时间戳
#define NSUserDefault_BankCardError @"NSUserDefault_BankCardError" //银行卡今日修改次数

#define NSUserDefault_UserRandomKey @"userRandomKey" //缓存userRandomKey
#define NSUserDefault_SelfUuid @"selfUuid" //缓存selfUuid

#endif /* DKUserDefault_h */
